<?php
/**
 * Auth_model Class
 *
 */
class Lokasi_model extends CI_Model {
	/**
	 * Constructor
	 */
	function Lokasi_model()
		{
			parent::__construct();
		}
		
	function get_all_kota(){
		return $this->db->select('*')
				->from('kota')
				->get();
	}
	
	function get_all_prov(){
		return $this->db->select('*')
				->from('provinsi')
				->get();
	}
}
// END Auth_model Class

/* End of file Auth_model.php */ 
/* Location: ./system/application/model/Auth_model.php */